﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Gw2ToolNewSystem
{
    public partial class Thief : Form
    {

        public static tqToolTip toolTip = new tqToolTip();
        public string SecilenElemen = null;
        public string SecilenClass = null;
        public string UtiSecilen = null;
        public string TraitSecilen = null;
        public int KalanTraitPuan = 70;
        public int Power;
        public int Expertise;
        public int Precision;
        public int Prowess;
        public int Toughness;
        public int Malice;
        public int Vitality;
        public int Compassion;
        public int Concentration;
        public int Cunning;
        public int DeadlyArts;
        public int CriticalStrikes;
        public int ShadowArts;
        public int Acrobatics;
        public int Trickery;

        public Thief()
        {
            InitializeComponent();
        }
        Dictionary<int, string> skilllist = new Dictionary<int, string>();
        Dictionary<int, string> SecilenTraitBir = new Dictionary<int, string>();
        Dictionary<int, string> SecilenTraitİki = new Dictionary<int, string>();
        Dictionary<int, string> SecilenTraitUc = new Dictionary<int, string>();
        Dictionary<int, string> SecilenTraitDort = new Dictionary<int, string>();
        Dictionary<int, string> SecilenTraitBes = new Dictionary<int, string>();
        public void SkillList()
        {
            skilllist.Add(1, null);
            skilllist.Add(2, null);
            skilllist.Add(3, null);
            skilllist.Add(4, null);
            skilllist.Add(5, null);
            skilllist.Add(6, null);
            skilllist.Add(7, null);
            skilllist.Add(8, null);
            skilllist.Add(9, null);
            skilllist.Add(10, null);
            skilllist.Add(11, null);
            skilllist.Add(12, null);
            skilllist.Add(13, null);
            skilllist.Add(14, null);
            skilllist.Add(15, null);
            skilllist.Add(16, null);
            skilllist.Add(17, null);
            skilllist.Add(18, null);
            skilllist.Add(19, null);
            skilllist.Add(20, null);            
            SecilenTraitBir.Add(1,null);
            SecilenTraitBir.Add(2,null);
            SecilenTraitBir.Add(3,null);
            SecilenTraitBir.Add(4,null);
            SecilenTraitBir.Add(5,null);
            SecilenTraitBir.Add(6,null);
            SecilenTraitBir.Add(7,null);
            SecilenTraitBir.Add(8,null);
            SecilenTraitBir.Add(9,null);
            SecilenTraitBir.Add(10,null);
            SecilenTraitBir.Add(11,null);
            SecilenTraitBir.Add(12,null);
            SecilenTraitBir.Add(13,null);
            SecilenTraitBir.Add(14,null);
            SecilenTraitBir.Add(15,null);
            SecilenTraitİki.Add(1, null);
            SecilenTraitİki.Add(2, null);
            SecilenTraitİki.Add(3, null);
            SecilenTraitİki.Add(4, null);
            SecilenTraitİki.Add(5, null);
            SecilenTraitİki.Add(6, null);
            SecilenTraitİki.Add(7, null);
            SecilenTraitİki.Add(8, null);
            SecilenTraitİki.Add(9, null);
            SecilenTraitİki.Add(10, null);
            SecilenTraitİki.Add(11, null);
            SecilenTraitİki.Add(12, null);
            SecilenTraitİki.Add(13, null);
            SecilenTraitİki.Add(14, null);
            SecilenTraitİki.Add(15, null);
            SecilenTraitUc.Add(1, null);
            SecilenTraitUc.Add(2, null);
            SecilenTraitUc.Add(3, null);
            SecilenTraitUc.Add(4, null);
            SecilenTraitUc.Add(5, null);
            SecilenTraitUc.Add(6, null);
            SecilenTraitUc.Add(7, null);
            SecilenTraitUc.Add(8, null);
            SecilenTraitUc.Add(9, null);
            SecilenTraitUc.Add(10, null);
            SecilenTraitUc.Add(11, null);
            SecilenTraitUc.Add(12, null);
            SecilenTraitUc.Add(13, null);
            SecilenTraitUc.Add(14, null);
            SecilenTraitUc.Add(15, null);
            SecilenTraitDort.Add(1, null);
            SecilenTraitDort.Add(2, null);
            SecilenTraitDort.Add(3, null);
            SecilenTraitDort.Add(4, null);
            SecilenTraitDort.Add(5, null);
            SecilenTraitDort.Add(6, null);
            SecilenTraitDort.Add(7, null);
            SecilenTraitDort.Add(8, null);
            SecilenTraitDort.Add(9, null);
            SecilenTraitDort.Add(10, null);
            SecilenTraitDort.Add(11, null);
            SecilenTraitDort.Add(12, null);
            SecilenTraitDort.Add(13, null);
            SecilenTraitDort.Add(14, null);
            SecilenTraitDort.Add(15, null);
            SecilenTraitBes.Add(1, null);
            SecilenTraitBes.Add(2, null);
            SecilenTraitBes.Add(3, null);
            SecilenTraitBes.Add(4, null);
            SecilenTraitBes.Add(5, null);
            SecilenTraitBes.Add(6, null);
            SecilenTraitBes.Add(7, null);
            SecilenTraitBes.Add(8, null);
            SecilenTraitBes.Add(9, null);
            SecilenTraitBes.Add(10, null);
            SecilenTraitBes.Add(11, null);
            SecilenTraitBes.Add(12, null);
            SecilenTraitBes.Add(13, null);
            SecilenTraitBes.Add(14, null);
            SecilenTraitBes.Add(15, null);
            TraitUpdate();
            TraitUpdate1();
            SkillUpdate();
        }
       
        public void TraitUpdate() 
        {
            int sayac = 1;
            foreach (var item in SecilenTraitBir)
            {
                if (item.Value!= null)
                {
                    PictureBox tb = (PictureBox)this.TraitP1.Controls["STrait" + sayac];
                    tb.Visible = false;
                    
                }
               
                sayac++;
                
            }
            
        }

        public void TraitClear(string temizlenecek)//burdaki temizlenecek olan 7. 8. 9. skill hangisiyse onu yazıcan abi
        {
            int sayac = 1;
            var geciciList = new Dictionary<int, string>(SecilenTraitBir);
            foreach (var item in geciciList)
            {
                if (item.Value == temizlenecek)
                {
                    PictureBox pb = (PictureBox)this.TraitP1.Controls["STrait" + sayac];
                    pb.Visible = true;
                    SecilenTraitBir[item.Key] = null;
                    
                }

                sayac++;
            }
        }
        public void TraitUpdate1()
        {
            int sayac = 1;
            foreach (var item in SecilenTraitİki)
            {
                if (item.Value != null)
                {
                    PictureBox tb = (PictureBox)this.TraitP2.Controls["STrait" +(15 + sayac)];
                    tb.Visible = false;

                }

                sayac++;

            }

        }
        public void TraitClear1(string temizlenecek)
        {
            int sayac = 1;
            var geciciList = new Dictionary<int, string>(SecilenTraitİki);
            foreach (var item in geciciList)
            {
                if (item.Value == temizlenecek)
                {
                    PictureBox pb = (PictureBox)this.TraitP2.Controls["STrait" +(15 + sayac)];
                    pb.Visible = true;
                    SecilenTraitİki[item.Key] = null;

                }

                sayac++;
            }

        }
        public void TraitUpdate2()
        {
            int sayac = 1;
            foreach (var item in SecilenTraitUc)
            {
                if (item.Value != null)
                {
                    PictureBox tb = (PictureBox)this.TraitP3.Controls["STrait" + (30 + sayac)];
                    tb.Visible = false;

                }

                sayac++;

            }

        }
        public void TraitClear2(string temizlenecek)
        {
            int sayac = 1;
            var geciciList = new Dictionary<int, string>(SecilenTraitUc);
            foreach (var item in geciciList)
            {
                if (item.Value == temizlenecek)
                {
                    PictureBox pb = (PictureBox)this.TraitP3.Controls["STrait" + (30 + sayac)];
                    pb.Visible = true;
                    SecilenTraitUc[item.Key] = null;

                }

                sayac++;
            }

        }
        public void TraitUpdate3()
        {
            int sayac = 1;
            foreach (var item in SecilenTraitDort)
            {
                if (item.Value != null)
                {
                    PictureBox tb = (PictureBox)this.TraitP4.Controls["STrait" + (45 + sayac)];
                    tb.Visible = false;

                }

                sayac++;

            }

        }
        public void TraitClear3(string temizlenecek)
        {
            int sayac = 1;
            var geciciList = new Dictionary<int, string>(SecilenTraitDort);
            foreach (var item in geciciList)
            {
                if (item.Value == temizlenecek)
                {
                    PictureBox pb = (PictureBox)this.TraitP4.Controls["STrait" + (45 + sayac)];
                    pb.Visible = true;
                    SecilenTraitDort[item.Key] = null;

                }

                sayac++;
            }


        }
        public void TraitUpdate4()
        {
            int sayac = 1;
            foreach (var item in SecilenTraitBes)
            {
                if (item.Value != null)
                {
                    PictureBox tb = (PictureBox)this.TraitP5.Controls["STrait" + (60 + sayac)];
                    tb.Visible = false;

                }

                sayac++;

            }

        }
        public void TraitClear4(string temizlenecek)
        {
            int sayac = 1;
            var geciciList = new Dictionary<int, string>(SecilenTraitBes);
            foreach (var item in geciciList)
            {
                if (item.Value == temizlenecek)
                {
                    PictureBox pb = (PictureBox)this.TraitP5.Controls["STrait" + (60 + sayac)];
                    pb.Visible = true;
                    SecilenTraitBes[item.Key] = null;

                }

                sayac++;
            }


        }
        public void SkillUpdate()
        {
            int sayac = 1;
            foreach (var item in skilllist)
            {
                if (item.Value != null)
                {
                    PictureBox pb = (PictureBox)this.UtiPanel.Controls["Uti" +  sayac];
                    pb.Visible = false;
                    

                }

                sayac++;
            }
            
        }
        public void SkillClear(string temizlenecek)//burdaki temizlenecek olan 7. 8. 9. skill hangisiyse onu yazıcan abi
        {
            int sayac = 1;
            var geciciList = new Dictionary<int, string>(skilllist);
            foreach (var item in geciciList)
            {
                if (item.Value == temizlenecek)
                {
                    PictureBox pb = (PictureBox)this.UtiPanel.Controls["Uti" + sayac];
                    pb.Visible = true;
                    skilllist[item.Key] = null;
                    //panel2.Visible = false;
                }

                sayac++;
            }
        }
       
        public void TraitThief() 
        {


            Down1.Image = Sifrele.resimListesi["53px-Venomous_Knife.png"];
            Down2.Image = Sifrele.resimListesi["53px-Smoke_Bomb_(thief).png"];
            Down3.Image = Sifrele.resimListesi["53px-Trail_of_Knives.png"];
            Down4.Image = Sifrele.resimListesi["53px-Bandage.png"];
            comboBox1.Items.Add("Dagger");
            comboBox1.Items.Add("Pistol");
            comboBox1.Items.Add("Sword");
            comboBox1.Items.Add("Shortbow");                
            comboBox2.Items.Add("Dagger");
            comboBox2.Items.Add("Pistol");
            Heal1.Image = Sifrele.resimListesi["53px-Hide_in_Shadows.png"];
            Heal2.Image = Sifrele.resimListesi["53px-Withdraw.png"];
            Heal3.Image = Sifrele.resimListesi["53px-Signet_of_Malice.png"];
            Elite1.Image = Sifrele.resimListesi["53px-Dagger_Storm.png"];
            Elite2.Image = Sifrele.resimListesi["53px-Thieves_Guild.png"];
            Elite3.Image = Sifrele.resimListesi["53px-Basilisk_Venom.png"];
            Uti1.Image = Sifrele.resimListesi["53px-Smoke_Screen.png"];
            Uti2.Image = Sifrele.resimListesi["53px-Blinding_Powder.png"];
            Uti3.Image = Sifrele.resimListesi["53px-Shadow_Refuge.png"];
            Uti4.Image = Sifrele.resimListesi["53px-Shadowstep.png"];
            Uti5.Image = Sifrele.resimListesi["53px-Assassin_Signet.png"];
            Uti6.Image = Sifrele.resimListesi["53px-Infiltrator's_Signet.png"];
            Uti7.Image = Sifrele.resimListesi["53px-Signet_of_Agility.png"];
            Uti8.Image = Sifrele.resimListesi["53px-Signet_of_Shadows.png"];
            Uti9.Image = Sifrele.resimListesi["53px-Needle_Trap.png"];
            Uti10.Image = Sifrele.resimListesi["53px-Shadow_Trap.png"];
            Uti11.Image = Sifrele.resimListesi["53px-Tripwire.png"];
            Uti12.Image = Sifrele.resimListesi["53px-Ambush.png"];
            Uti13.Image = Sifrele.resimListesi["53px-Haste.png"];
            Uti14.Image = Sifrele.resimListesi["53px-Roll_for_Initiative.png"];
            Uti15.Image = Sifrele.resimListesi["53px-Caltrops.png"];
            Uti16.Image = Sifrele.resimListesi["53px-Scorpion_Wire.png"];
            Uti17.Image = Sifrele.resimListesi["53px-Devourer_Venom.png"];
            Uti18.Image = Sifrele.resimListesi["53px-Ice_Drake_Venom.png"];
            Uti19.Image = Sifrele.resimListesi["53px-Skale_Venom.png"];
            Uti20.Image = Sifrele.resimListesi["53px-Spider_Venom.png"];
            Ustskill4.Image = Sifrele.resimListesi["53px-Steal.png"];
        
        }
        public void falsecevir(bool durum)
    {
        KalanTrait.Visible=durum;
        p1.Visible = durum;
        p2.Visible = durum;
        p3.Visible = durum;
        p4.Visible = durum;
        p5.Visible = durum;
        p6.Visible = durum;
        p7.Visible = durum;
        p8.Visible = durum;
        p9.Visible = durum;
        p10.Visible = durum;
        a1.Visible = durum;
        a2.Visible = durum;
        a3.Visible = durum;
        a4.Visible = durum;
        a5.Visible = durum;
        a6.Visible = durum;
        a7.Visible = durum;
        a8.Visible = durum;
        a9.Visible = durum;
        a10.Visible = durum;
        texta1.Visible = durum;
        texta2.Visible = durum;
        texta3.Visible = durum;
        texta4.Visible = durum;
        texta5.Visible = durum;
        texta6.Visible = durum;
        texta7.Visible = durum;
        texta8.Visible = durum;
        texta9.Visible = durum;
        texta10.Visible = durum;
        label1.Visible = durum;
        label2.Visible = durum;
        label3.Visible = durum;
        label4.Visible = durum;
        label5.Visible = durum;
        trait1.Visible = durum;
        trait2.Visible = durum;
        trait3.Visible = durum;
        trait4.Visible = durum;
        trait5.Visible = durum;
        trait6.Visible = durum;
        trait7.Visible = durum;
        trait8.Visible = durum;
        trait9.Visible = durum;
        trait10.Visible = durum;
        trait11.Visible = durum;
        trait12.Visible = durum;
        trait13.Visible = durum;
        trait14.Visible = durum;
        trait15.Visible = durum;
        trait16.Visible = durum;
        trait17.Visible = durum;
        trait18.Visible = durum;
        trait19.Visible = durum;
        trait20.Visible = durum;
        trait21.Visible = durum;
        trait22.Visible = durum;
        trait23.Visible = durum;
        trait24.Visible = durum;
        trait25.Visible = durum;
        trait26.Visible = durum;
        trait27.Visible = durum;
        trait28.Visible = durum;
        trait29.Visible = durum;
        trait30.Visible = durum;
        Skill1.Visible = durum;
        Skill2.Visible = durum;
        Skill3.Visible = durum;
        Skill4.Visible = durum;
        Skill5.Visible = durum;
        Skill6.Visible = durum;
        Skill7.Visible = durum;
        Skill8.Visible = durum;
        Skill9.Visible = durum;
        Skill10.Visible = durum;
        //Skill11.Visible = durum;
        //Skill12.Visible = durum;
        //Skill13.Visible = durum;
        //Skill14.Visible = durum;
        //Skill15.Visible = durum;
        //Skill16.Visible = durum;
        //Skill17.Visible = durum;
        //Skill18.Visible = durum;
        //Skill19.Visible = durum;
        //Skill20.Visible = durum;
        //Skill21.Visible = durum;
        Ustskill1.Visible = durum;        
        comboBox1.Visible = durum;
        STrait14.Visible = durum;
        STrait15.Visible = durum;
        STrait28.Visible = durum;
        STrait29.Visible = durum;
        STrait30.Visible = durum;        
        STrait43.Visible = durum;
        STrait44.Visible = durum;
        STrait45.Visible = durum;
        STrait58.Visible = durum;
        STrait59.Visible = durum;
        STrait60.Visible = durum;
        STrait13.Visible = durum;
        STrait73.Visible = durum;
        STrait74.Visible = durum;
        STrait75.Visible = durum;
        Down1.Visible = durum;
        Down2.Visible = durum;
        Down3.Visible = durum;
        Down4.Visible = durum;
       


    }
        
        public void Trait() 
        {
            p1.Image = Sifrele.resimListesi["plus.png"];
            p2.Image = Sifrele.resimListesi["minus.png"];
            p3.Image = Sifrele.resimListesi["plus.png"];
            p4.Image = Sifrele.resimListesi["minus.png"];
            p5.Image = Sifrele.resimListesi["plus.png"];
            p6.Image = Sifrele.resimListesi["minus.png"];
            p7.Image = Sifrele.resimListesi["plus.png"];
            p8.Image = Sifrele.resimListesi["minus.png"];
            p9.Image = Sifrele.resimListesi["plus.png"];
            p10.Image = Sifrele.resimListesi["minus.png"];
            a1.Image = Sifrele.resimListesi["Power.png"];
            a2.Image = Sifrele.resimListesi["Expertise.png"];
            a3.Image = Sifrele.resimListesi["Precision.png"];
            a4.Image = Sifrele.resimListesi["Prowess.png"];
            a5.Image = Sifrele.resimListesi["Toughness.png"];
            a6.Image = Sifrele.resimListesi["Compassion.png"];
            a7.Image = Sifrele.resimListesi["Vitality.png"];
            a8.Image = Sifrele.resimListesi["Concentration.png"];
            a9.Image = Sifrele.resimListesi["Malice.png"];
            a10.Image = Sifrele.resimListesi["Cunning.png"];
            texta1.Text = "Power";
            texta2.Text = "Expertise";
            texta3.Text = "Precision";
            texta4.Text = "Prowess";
            texta5.Text = "Toughness";
            texta6.Text = "Compassion";
            texta7.Text = "Vitality";
            texta8.Text = "Concentration";
            texta9.Text = "Malice";
            texta10.Text = "Cunning";
            KalanTrait.Text = "Kalan Trait Puanı = " + KalanTraitPuan;           
            for (int i = 1; i < 31; i++)//biden basla 31 olunca dur, 31 olmuycak ama yani 30da durcak
            {
                PictureBox pb = (PictureBox)this.Controls["trait" + i];
                if (pb == null)
                    MessageBox.Show("trait" + i + "   null");
                pb.Image = Sifrele.resimListesi["locked.png"];

            }
            
            
        }
        public void LoadTT() 
        {
            toolTip.SetToolTip(Heal1, Contents.GetContent("Hide in Shadows"));
            toolTip.SetToolTip(Heal2, Contents.GetContent("Withdraw"));
            toolTip.SetToolTip(Heal3, Contents.GetContent("Signet of Malice"));
            toolTip.SetToolTip(Elite1, Contents.GetContent("Dagger Storm"));
            toolTip.SetToolTip(Elite2, Contents.GetContent("Thieves Guild"));
            toolTip.SetToolTip(Elite3, Contents.GetContent("Basilisk Venom"));
            toolTip.SetToolTip(Uti1, Contents.GetContent("Smoke Screen"));
            toolTip.SetToolTip(Uti2, Contents.GetContent("Blinding Powder"));
            toolTip.SetToolTip(Uti3, Contents.GetContent("Shadow Refuge"));
            toolTip.SetToolTip(Uti4, Contents.GetContent("Shadowstep"));
            toolTip.SetToolTip(Uti5, Contents.GetContent("Assassin Signet"));
            toolTip.SetToolTip(Uti6, Contents.GetContent("Infiltrator's Signet"));
            toolTip.SetToolTip(Uti7, Contents.GetContent("Signet of Agility"));
            toolTip.SetToolTip(Uti8, Contents.GetContent("Signet of Shadows"));
            toolTip.SetToolTip(Uti9, Contents.GetContent("Needle Trap"));
            toolTip.SetToolTip(Uti10, Contents.GetContent("Shadow Trap"));
            toolTip.SetToolTip(Uti11, Contents.GetContent("Tripwire"));
            toolTip.SetToolTip(Uti12, Contents.GetContent("Ambush"));
            toolTip.SetToolTip(Uti13, Contents.GetContent("Haste"));
            toolTip.SetToolTip(Uti14, Contents.GetContent("Roll for Initiative"));
            toolTip.SetToolTip(Uti15, Contents.GetContent("Caltrops"));
            toolTip.SetToolTip(Uti16, Contents.GetContent("Scorpion Wire"));
            toolTip.SetToolTip(Uti17, Contents.GetContent("Devourer Venom"));
            toolTip.SetToolTip(Uti18, Contents.GetContent("Ice Drake Venom"));
            toolTip.SetToolTip(Uti19, Contents.GetContent("Skale Venom"));
            toolTip.SetToolTip(Uti20, Contents.GetContent("Spider Venom"));
            toolTip.SetToolTip(STrait1, Contents.GetContent("Back Fighting"));
            toolTip.SetToolTip(STrait2, Contents.GetContent("Poisonous Traps"));
            toolTip.SetToolTip(STrait3, Contents.GetContent("Mug"));
            toolTip.SetToolTip(STrait4, Contents.GetContent("Venomous Strength"));
            toolTip.SetToolTip(STrait5, Contents.GetContent("Potent Poison"));
            toolTip.SetToolTip(STrait6, Contents.GetContent("Sundering Strikes"));
            toolTip.SetToolTip(STrait7, Contents.GetContent("Improved Venoms"));
            toolTip.SetToolTip(STrait8, Contents.GetContent("Quick Venoms"));
            toolTip.SetToolTip(STrait9, Contents.GetContent("Dagger Training"));
            toolTip.SetToolTip(STrait10, Contents.GetContent("Combined Training"));
            toolTip.SetToolTip(STrait11, Contents.GetContent("Panic Strike"));
            toolTip.SetToolTip(STrait12, Contents.GetContent("Residual Venom"));
            toolTip.SetToolTip(STrait16, Contents.GetContent("Furious Retaliation"));
            toolTip.SetToolTip(STrait17, Contents.GetContent("Signets of Power"));
            toolTip.SetToolTip(STrait18, Contents.GetContent("Side Strike"));
            toolTip.SetToolTip(STrait19, Contents.GetContent("Concealed Defeat"));
            toolTip.SetToolTip(STrait20, Contents.GetContent("Critical Haste"));
            toolTip.SetToolTip(STrait21, Contents.GetContent("Executioner"));
            toolTip.SetToolTip(STrait22, Contents.GetContent("Fast Signets"));
            toolTip.SetToolTip(STrait23, Contents.GetContent("Hidden Killer"));
            toolTip.SetToolTip(STrait24, Contents.GetContent("Combo Crit Chance"));
            toolTip.SetToolTip(STrait25, Contents.GetContent("Pistol Mastery"));
            toolTip.SetToolTip(STrait26, Contents.GetContent("Ankle Shots"));
            toolTip.SetToolTip(STrait27, Contents.GetContent("Signet Use"));
            toolTip.SetToolTip(STrait31, Contents.GetContent("Cowardly"));
            toolTip.SetToolTip(STrait32, Contents.GetContent("Reviver's Deception"));
            toolTip.SetToolTip(STrait33, Contents.GetContent("Shadow Protector"));
            toolTip.SetToolTip(STrait34, Contents.GetContent("Shadow's Embrace"));
            toolTip.SetToolTip(STrait35, Contents.GetContent("Infusion of Shadow"));
            toolTip.SetToolTip(STrait36, Contents.GetContent("Cloaked in Shadow"));
            toolTip.SetToolTip(STrait37, Contents.GetContent("Power Shots"));
            toolTip.SetToolTip(STrait38, Contents.GetContent("Master of Deception"));
            toolTip.SetToolTip(STrait39, Contents.GetContent("Leeching Venoms"));
            toolTip.SetToolTip(STrait40, Contents.GetContent("Patience"));
            toolTip.SetToolTip(STrait41, Contents.GetContent("Hidden Thief"));
            toolTip.SetToolTip(STrait42, Contents.GetContent("Venomous Aura"));
            toolTip.SetToolTip(STrait46, Contents.GetContent("Descent of Shadows"));
            toolTip.SetToolTip(STrait47, Contents.GetContent("Power of Inertia"));
            toolTip.SetToolTip(STrait48, Contents.GetContent("Vigorous Recovery"));
            toolTip.SetToolTip(STrait49, Contents.GetContent("Assassin's Retreat"));
            toolTip.SetToolTip(STrait50, Contents.GetContent("Fleet of Foot"));
            toolTip.SetToolTip(STrait51, Contents.GetContent("Fleet Shadow"));
            toolTip.SetToolTip(STrait52, Contents.GetContent("Master Trapper"));
            toolTip.SetToolTip(STrait53, Contents.GetContent("Pain Response"));
            toolTip.SetToolTip(STrait54, Contents.GetContent("Quick Recovery"));
            toolTip.SetToolTip(STrait55, Contents.GetContent("Martial Agility"));
            toolTip.SetToolTip(STrait56, Contents.GetContent("Hard to Catch"));
            toolTip.SetToolTip(STrait57, Contents.GetContent("Quick Pockets"));
            toolTip.SetToolTip(STrait61, Contents.GetContent("Merciful Ambush"));
            toolTip.SetToolTip(STrait62, Contents.GetContent("Pickpocket's Revenge"));
            toolTip.SetToolTip(STrait63, Contents.GetContent("Uncatchable"));
            toolTip.SetToolTip(STrait64, Contents.GetContent("Flanking Strikes"));
            toolTip.SetToolTip(STrait65, Contents.GetContent("Thrill of the Crime"));
            toolTip.SetToolTip(STrait66, Contents.GetContent("Long Reach"));
            toolTip.SetToolTip(STrait67, Contents.GetContent("Bountiful Theft"));
            toolTip.SetToolTip(STrait68, Contents.GetContent("Trickster"));
            toolTip.SetToolTip(STrait69, Contents.GetContent("Initial Strike"));
            toolTip.SetToolTip(STrait70, Contents.GetContent("Ricochet (Thief Trait)"));
            toolTip.SetToolTip(STrait71, Contents.GetContent("Hastened Replenishment"));
            toolTip.SetToolTip(STrait72, Contents.GetContent("Sleight of Hand"));

            STrait1.Image = Sifrele.resimListesi["Trait_I.png"];
            STrait2.Image = Sifrele.resimListesi["Trait_II.png"];
            STrait3.Image = Sifrele.resimListesi["Trait_III.png"];
            STrait4.Image = Sifrele.resimListesi["Trait_IV.png"];
            STrait5.Image = Sifrele.resimListesi["Trait_V.png"];
            STrait6.Image = Sifrele.resimListesi["Trait_VI.png"];
            STrait7.Image = Sifrele.resimListesi["Trait_VII.png"];
            STrait8.Image = Sifrele.resimListesi["Trait_VIII.png"];
            STrait9.Image = Sifrele.resimListesi["Trait_IX.png"];
            STrait10.Image = Sifrele.resimListesi["Trait_X.png"];
            STrait11.Image = Sifrele.resimListesi["Trait_XI.png"];
            STrait12.Image = Sifrele.resimListesi["Trait_XII.png"];            
            STrait16.Image = Sifrele.resimListesi["Trait_I.png"];
            STrait17.Image = Sifrele.resimListesi["Trait_II.png"];
            STrait18.Image = Sifrele.resimListesi["Trait_III.png"];
            STrait19.Image = Sifrele.resimListesi["Trait_IV.png"];
            STrait20.Image = Sifrele.resimListesi["Trait_V.png"];
            STrait21.Image = Sifrele.resimListesi["Trait_VI.png"];
            STrait22.Image = Sifrele.resimListesi["Trait_VII.png"];
            STrait23.Image = Sifrele.resimListesi["Trait_VIII.png"];
            STrait24.Image = Sifrele.resimListesi["Trait_IX.png"];
            STrait25.Image = Sifrele.resimListesi["Trait_X.png"];
            STrait26.Image = Sifrele.resimListesi["Trait_XI.png"];
            STrait27.Image = Sifrele.resimListesi["Trait_XII.png"];          
            STrait31.Image = Sifrele.resimListesi["Trait_I.png"];
            STrait32.Image = Sifrele.resimListesi["Trait_II.png"];
            STrait33.Image = Sifrele.resimListesi["Trait_III.png"];
            STrait34.Image = Sifrele.resimListesi["Trait_IV.png"];
            STrait35.Image = Sifrele.resimListesi["Trait_V.png"];
            STrait36.Image = Sifrele.resimListesi["Trait_VI.png"];
            STrait37.Image = Sifrele.resimListesi["Trait_VII.png"];
            STrait38.Image = Sifrele.resimListesi["Trait_VIII.png"];
            STrait39.Image = Sifrele.resimListesi["Trait_IX.png"];
            STrait40.Image = Sifrele.resimListesi["Trait_X.png"];
            STrait41.Image = Sifrele.resimListesi["Trait_XI.png"];
            STrait42.Image = Sifrele.resimListesi["Trait_XII.png"];
            STrait46.Image = Sifrele.resimListesi["Trait_I.png"];
            STrait47.Image = Sifrele.resimListesi["Trait_II.png"];
            STrait48.Image = Sifrele.resimListesi["Trait_III.png"];
            STrait49.Image = Sifrele.resimListesi["Trait_IV.png"];
            STrait50.Image = Sifrele.resimListesi["Trait_V.png"];
            STrait51.Image = Sifrele.resimListesi["Trait_VI.png"];
            STrait52.Image = Sifrele.resimListesi["Trait_VII.png"];
            STrait53.Image = Sifrele.resimListesi["Trait_VIII.png"];
            STrait54.Image = Sifrele.resimListesi["Trait_IX.png"];
            STrait55.Image = Sifrele.resimListesi["Trait_X.png"];
            STrait56.Image = Sifrele.resimListesi["Trait_XI.png"];
            STrait57.Image = Sifrele.resimListesi["Trait_XII.png"];
            STrait61.Image = Sifrele.resimListesi["Trait_I.png"];
            STrait62.Image = Sifrele.resimListesi["Trait_II.png"];
            STrait63.Image = Sifrele.resimListesi["Trait_III.png"];
            STrait64.Image = Sifrele.resimListesi["Trait_IV.png"];
            STrait65.Image = Sifrele.resimListesi["Trait_V.png"];
            STrait66.Image = Sifrele.resimListesi["Trait_VI.png"];
            STrait67.Image = Sifrele.resimListesi["Trait_VII.png"];
            STrait68.Image = Sifrele.resimListesi["Trait_VIII.png"];
            STrait69.Image = Sifrele.resimListesi["Trait_IX.png"];
            STrait70.Image = Sifrele.resimListesi["Trait_X.png"];
            STrait71.Image = Sifrele.resimListesi["Trait_XI.png"];
            STrait72.Image = Sifrele.resimListesi["Trait_XII.png"];
        }

        public ToolTipHelper tooltips = new ToolTipHelper();
        public void traitatribute()
        {
            ToolTip tt = tooltips.GetControlToolTip(a1.Name);
            tt.SetToolTip(a1, "'Power'özelliğinizi artırır.");
            tt.ToolTipTitle = "Power";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a2.Name);
            tt.SetToolTip(a2, "'Condition' sürenizi artırır.");
            tt.ToolTipTitle = "Expertise";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a3.Name);
            tt.SetToolTip(a3, "'Precision' özelliğinizi artırır.");
            tt.ToolTipTitle = "Precision";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a4.Name);
            tt.SetToolTip(a4, "Kritik hasarınızı artırır.");
            tt.ToolTipTitle = "Prowess";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a5.Name);
            tt.SetToolTip(a5, "'Toughness' özelliğinizi artırır.");
            tt.ToolTipTitle = "Toughness";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a9.Name);
            tt.SetToolTip(a9, "Condition hasarlarınızı artırır.");
            tt.ToolTipTitle = "Malice";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a7.Name);
            tt.SetToolTip(a7, "'Vitality' özelliğinizi artırır.");
            tt.ToolTipTitle = "Vitality";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a6.Name);
            tt.SetToolTip(a6, "Healing skillerinizin daha fazla heal atmasını sağlar. ");
            tt.ToolTipTitle = "Compassion";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a8.Name);
            tt.SetToolTip(a8, "Boon özeliklerinizin süresini artırır. ");
            tt.ToolTipTitle = "Concentration";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
            tt = tooltips.GetControlToolTip(a10.Name);
            tt.SetToolTip(a10, "Steal skilinizin yeniden yükleme süresini azaltır.");
            tt.ToolTipTitle = "Cunning";
            tt.InitialDelay = 0;
            tt.IsBalloon = true;
        }
        
        private void Form1_Load(object sender, EventArgs e)
        {
            try
            {
                Sifrele.sifrecoz();
                                
                HealPanel.Visible = false;
                ElitePanel.Visible = false;
                UtiPanel.Visible = false;
                Skill11.Visible = false;
                Skill12.Visible = false;
                Skill13.Visible = false;
                Skill14.Visible = false;
                Skill15.Visible = false;
                Skill16.Visible = false;
                Skill17.Visible = false;
                Skill18.Visible = false;
                Skill19.Visible = false;
                Skill20.Visible = false;
                Skill21.Visible = false;
                comboBox1.Visible = false;
                comboBox2.Visible = false;
                Ustskill1.Visible = false;
                Ustskill2.Visible = false;  
                comboBox1.Visible = true;
                comboBox2.Visible = false;
                Class1.Image = Sifrele.resimListesi["elementalist_off.png"]; 
                Class2.Image = Sifrele.resimListesi["engineer_off.png"];
                Class3.Image = Sifrele.resimListesi["guardian_off.png"];
                Class4.Image = Sifrele.resimListesi["mesmer_off.png"];
                Class5.Image = Sifrele.resimListesi["necromancer_off.png"];
                Class6.Image = Sifrele.resimListesi["ranger_off.png"];
                Class7.Image = Sifrele.resimListesi["thief.png"];
                Class8.Image = Sifrele.resimListesi["warrior_off.png"];

                SecilenClass = "Thief";
                this.BackgroundImage = Sifrele.resimListesi["Thief.jpg"];
                STrait28.Visible = false;
                TraitThief();
                toolTip.SetToolTip(Down1, Contents.GetContent("Venomous Knife"));
                toolTip.SetToolTip(Down2, Contents.GetContent("Smoke Bomb (thief)"));
                toolTip.SetToolTip(Down3, Contents.GetContent("Trail of Knives"));
                toolTip.SetToolTip(Down4, Contents.GetContent("Bandage"));
                toolTip.SetToolTip(Ustskill4, Contents.GetContent("Steal")); 
                SkillList();
                SkillUpdate();
                TraitUpdate();
                TraitUpdate1();                
                Trait();
                LoadTT();
                comboBox1.SelectedItem = "Dagger"; 
                comboBox2.SelectedItem="Dagger";
                traitatribute();
                traitatribute();
            }
            catch (Exception ex)
            {

                MessageBox.Show(ex.ToString());
            }
            
                        
            
        }

        private void Class1_Click(object sender, EventArgs e)
        {
            Elementalist elem = new Elementalist();
            this.Hide();
            elem.Show();
            
        }

        private void Class2_Click(object sender, EventArgs e)
        {
            Engineer eng = new Engineer();
            this.Hide();
            eng.Show();
           
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (comboBox1.Text=="Dagger")
            {
                comboBox2.Visible = true;
                Skill11.Visible = true;
                Skill12.Visible = true;
                Skill13.Visible = false;
                Ustskill3.Image = Sifrele.resimListesi["53px-Backstab.png"];
                Skill1.Image = Sifrele.resimListesi["53px-Double_Strike.png"];
                Skill11.Image = Sifrele.resimListesi["53px-Wild_Strike.png"];
                Skill12.Image = Sifrele.resimListesi["53px-Lotus_Strike.png"];
                Skill2.Image = Sifrele.resimListesi["53px-Heartseeker.png"];
                Skill3.Image = Sifrele.resimListesi["53px-Leaping_Death_Blossom.png"];
                Skill4.Image = Sifrele.resimListesi["53px-Dancing_Dagger.png"];
                Skill5.Image = Sifrele.resimListesi["53px-Cloak_and_Dagger.png"];
                toolTip.SetToolTip(Skill1, Contents.GetContent("Double Strike"));
                toolTip.SetToolTip(Ustskill3, Contents.GetContent("Backstab"));
                toolTip.SetToolTip(Skill11, Contents.GetContent("Wild Strike"));
                toolTip.SetToolTip(Skill12, Contents.GetContent("Lotus Strike"));
                toolTip.SetToolTip(Skill2, Contents.GetContent("Heartseeker"));
                toolTip.SetToolTip(Skill3, Contents.GetContent("Leaping Death Blossom"));
                toolTip.SetToolTip(Skill4, Contents.GetContent("Dancing Dagger"));
                toolTip.SetToolTip(Skill5, Contents.GetContent("Cloak and Dagger"));
                if (comboBox2.Text=="Dagger")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Leaping_Death_Blossom.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Leaping Death Blossom"));
                    Skill4.Image = Sifrele.resimListesi["53px-Dancing_Dagger.png"];
                    Skill5.Image = Sifrele.resimListesi["53px-Cloak_and_Dagger.png"];
                    toolTip.SetToolTip(Skill4, Contents.GetContent("Dancing Dagger"));
                    toolTip.SetToolTip(Skill5, Contents.GetContent("Cloak and Dagger"));
                }
                else if (comboBox2.Text == "Pistol")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Shadow_Shot.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Shadow Shot"));
                    Skill4.Image = Sifrele.resimListesi["53px-Black_Powder.png"];
                    Skill5.Image = Sifrele.resimListesi["53px-Head_Shot.png"];
                    toolTip.SetToolTip(Skill4, Contents.GetContent("Black Powder"));
                    toolTip.SetToolTip(Skill5, Contents.GetContent("Head Shot"));
                }
                              
            }
            else if (comboBox1.Text=="Pistol")
            {
                comboBox2.Visible = true;
                Skill11.Visible = false;
                Skill12.Visible = false;
                Skill13.Visible = false;
                Ustskill3.Image = Sifrele.resimListesi["53px-Sneak_Attack.png"];
                Skill1.Image = Sifrele.resimListesi["53px-Vital_Shot.png"];                
                Skill2.Image = Sifrele.resimListesi["53px-Body_Shot.png"];
                Skill3.Image = Sifrele.resimListesi["53px-Shadow_Strike.png"];
                Skill4.Image = Sifrele.resimListesi["53px-Dancing_Dagger.png"];
                Skill5.Image = Sifrele.resimListesi["53px-Cloak_and_Dagger.png"];
                toolTip.SetToolTip(Skill1, Contents.GetContent("Vital Shot"));
                toolTip.SetToolTip(Ustskill3, Contents.GetContent("Sneak Attack"));                
                toolTip.SetToolTip(Skill2, Contents.GetContent("Body Shot"));
                toolTip.SetToolTip(Skill3, Contents.GetContent("Shadow Strike"));
                toolTip.SetToolTip(Skill4, Contents.GetContent("Dancing Dagger"));
                toolTip.SetToolTip(Skill5, Contents.GetContent("Cloak and Dagger"));
                if (comboBox2.Text == "Dagger")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Shadow_Strike.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Shadow Strike"));
                    Skill4.Image = Sifrele.resimListesi["53px-Dancing_Dagger.png"];
                    Skill5.Image = Sifrele.resimListesi["53px-Cloak_and_Dagger.png"];
                    toolTip.SetToolTip(Skill4, Contents.GetContent("Dancing Dagger"));
                    toolTip.SetToolTip(Skill5, Contents.GetContent("Cloak and Dagger"));
                }
                else if (comboBox2.Text == "Pistol")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Unload.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Unload"));
                    Skill4.Image = Sifrele.resimListesi["53px-Black_Powder.png"];
                    Skill5.Image = Sifrele.resimListesi["53px-Head_Shot.png"];
                    toolTip.SetToolTip(Skill4, Contents.GetContent("Black Powder"));
                    toolTip.SetToolTip(Skill5, Contents.GetContent("Head Shot"));
                }
            }
            else if (comboBox1.Text == "Sword")
            {
                comboBox2.Visible = true;
                Skill11.Visible = true;
                Skill12.Visible = true;
                Skill13.Visible = true;
                Ustskill3.Image = Sifrele.resimListesi["53px-Tactical_Strike_(thief).png"];
                Skill1.Image = Sifrele.resimListesi["53px-Slice_(thief).png"];
                Skill11.Image = Sifrele.resimListesi["53px-Slash_(thief).png"];
                Skill12.Image = Sifrele.resimListesi["53px-Crippling_Strike.png"];
                Skill13.Image = Sifrele.resimListesi["53px-Shadow_Return.png"];
                Skill2.Image = Sifrele.resimListesi["53px-Infiltrator's_Strike.png"];
                Skill3.Image = Sifrele.resimListesi["53px-Flanking_Strike_(dual_skill).png"];
                Skill4.Image = Sifrele.resimListesi["53px-Dancing_Dagger.png"];
                Skill5.Image = Sifrele.resimListesi["53px-Cloak_and_Dagger.png"];
                toolTip.SetToolTip(Skill1, Contents.GetContent("Slice (thief)"));
                toolTip.SetToolTip(Skill11, Contents.GetContent("Slash (thief)"));
                toolTip.SetToolTip(Skill12, Contents.GetContent("Crippling Strike"));
                toolTip.SetToolTip(Ustskill3, Contents.GetContent("Tactical Strike (thief)"));
                toolTip.SetToolTip(Skill2, Contents.GetContent("Infiltrator's Strike"));
                toolTip.SetToolTip(Skill13, Contents.GetContent("Shadow Return"));
                toolTip.SetToolTip(Skill3, Contents.GetContent("Flanking Strike (dual skill)"));
                toolTip.SetToolTip(Skill4, Contents.GetContent("Dancing Dagger"));
                toolTip.SetToolTip(Skill5, Contents.GetContent("Cloak and Dagger"));
                if (comboBox2.Text == "Dagger")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Flanking_Strike_(dual_skill).png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Flanking Strike (dual skill)"));
                    Skill4.Image = Sifrele.resimListesi["53px-Dancing_Dagger.png"];
                    Skill5.Image = Sifrele.resimListesi["53px-Cloak_and_Dagger.png"];
                    toolTip.SetToolTip(Skill4, Contents.GetContent("Dancing Dagger"));
                    toolTip.SetToolTip(Skill5, Contents.GetContent("Cloak and Dagger"));
                }
                else if (comboBox2.Text == "Pistol")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Pistol_Whip.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Pistol Whip"));
                    Skill4.Image = Sifrele.resimListesi["53px-Black_Powder.png"];
                    Skill5.Image = Sifrele.resimListesi["53px-Head_Shot.png"];
                    toolTip.SetToolTip(Skill4, Contents.GetContent("Black Powder"));
                    toolTip.SetToolTip(Skill5, Contents.GetContent("Head Shot"));
                }


            }
            else if (comboBox1.Text == "Shortbow")
            {
                comboBox2.Visible = false;
                Skill11.Visible = false;
                Skill12.Visible = false;
                Skill13.Visible = true;
                Ustskill3.Image = Sifrele.resimListesi["53px-Surprise_Shot.png"];
                Skill1.Image = Sifrele.resimListesi["53px-Trick_Shot_(thief).png"];
                Skill2.Image = Sifrele.resimListesi["53px-Cluster_Bomb.png"];
                Skill13.Image = Sifrele.resimListesi["53px-Detonate_Cluster.png"];
                Skill3.Image = Sifrele.resimListesi["53px-Disabling_Shot_(shortbow_skill).png"];
                Skill4.Image = Sifrele.resimListesi["53px-Choking_Gas.png"];
                Skill5.Image = Sifrele.resimListesi["53px-Infiltrator's_Arrow.png"];
                toolTip.SetToolTip(Skill1, Contents.GetContent("Trick Shot (thief)"));                
                toolTip.SetToolTip(Ustskill3, Contents.GetContent("Surprise Shot"));
                toolTip.SetToolTip(Skill2, Contents.GetContent("Cluster Bomb"));
                toolTip.SetToolTip(Skill13, Contents.GetContent("Detonate Cluster"));
                toolTip.SetToolTip(Skill3, Contents.GetContent("Disabling Shot (shortbow skill)"));
                toolTip.SetToolTip(Skill4, Contents.GetContent("Choking Gas"));
                toolTip.SetToolTip(Skill5, Contents.GetContent("Infiltrator's Arrow"));
            }
               
        }

        private void Skill6_Click(object sender, EventArgs e)
        {
            HealPanel.Visible = true;
        }

        private void Skill10_Click(object sender, EventArgs e)
        {
            ElitePanel.Visible = true;
        }

        private void Skill7_Click(object sender, EventArgs e)
        {
            UtiPanel.Visible = true;
            UtiSecilen = "7Secildi";
        }

        private void Heal1_Click(object sender, EventArgs e)
        {
            toolTip.SetToolTip(Skill6, Contents.GetContent("Hide in Shadows"));
            Skill6.Image = Sifrele.resimListesi["53px-Hide_in_Shadows.png"];
            HealPanel.Visible = false;
            
        }

        private void Heal2_Click(object sender, EventArgs e)
        {

            toolTip.SetToolTip(Skill6, Contents.GetContent("Withdraw"));
            Skill6.Image = Sifrele.resimListesi["53px-Withdraw.png"];
            HealPanel.Visible = false;
        }

        private void Heal3_Click(object sender, EventArgs e)
        {

            toolTip.SetToolTip(Skill6, Contents.GetContent("Signet of Malice"));
            Skill6.Image = Sifrele.resimListesi["53px-Signet_of_Malice.png"];
            HealPanel.Visible = false;
        }

        private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (comboBox2.Text=="Dagger")
            {

                Skill4.Image = Sifrele.resimListesi["53px-Dancing_Dagger.png"];
                Skill5.Image = Sifrele.resimListesi["53px-Cloak_and_Dagger.png"];
                toolTip.SetToolTip(Skill4, Contents.GetContent("Dancing Dagger"));
                toolTip.SetToolTip(Skill5, Contents.GetContent("Cloak and Dagger"));
                if (comboBox1.Text == "Dagger")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Leaping_Death_Blossom.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Leaping Death Blossom"));

                }
                else if (comboBox1.Text == "Pistol")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Shadow_Strike.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Shadow Strike"));
                }
                else if (comboBox1.Text == "Sword")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Flanking_Strike_(dual_skill).png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Flanking Strike (dual skill)"));
                }
                
            }
            else if (comboBox2.Text == "Pistol")
            {

                Skill4.Image = Sifrele.resimListesi["53px-Black_Powder.png"];
                Skill5.Image = Sifrele.resimListesi["53px-Head_Shot.png"];
                toolTip.SetToolTip(Skill4, Contents.GetContent("Black Powder"));
                toolTip.SetToolTip(Skill5, Contents.GetContent("Head Shot"));
                if (comboBox1.Text=="Dagger")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Shadow_Shot.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Shadow Shot"));
                    
                }
                else if (comboBox1.Text=="Pistol")
                {
                     Skill3.Image = Sifrele.resimListesi["53px-Unload.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Unload"));
                }
                else if (comboBox1.Text=="Sword")
                {
                    Skill3.Image = Sifrele.resimListesi["53px-Pistol_Whip.png"];
                    toolTip.SetToolTip(Skill3, Contents.GetContent("Pistol Whip"));
                }
            }
          
        }


        private void Ustskill1_Click(object sender, EventArgs e)
        {
           
        }

        private void Ustskill2_Click(object sender, EventArgs e)
        {
            
        }

        private void Ustskill3_Click(object sender, EventArgs e)
        {
           
        }

        private void Ustskill4_Click(object sender, EventArgs e)
        {
            
        }

        private void Uti1_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[1] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Smoke Screen"));
                Skill7.Image = Sifrele.resimListesi["53px-Smoke_Screen.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[1] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Smoke Screen"));
                Skill8.Image = Sifrele.resimListesi["53px-Smoke_Screen.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[1] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Smoke Screen"));
                Skill9.Image = Sifrele.resimListesi["53px-Smoke_Screen.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Skill8_Click(object sender, EventArgs e)
        {
            UtiPanel.Visible = true;
            UtiSecilen = "8Secildi";
        }

        private void Skill9_Click(object sender, EventArgs e)
        {
            UtiPanel.Visible = true;
            UtiSecilen = "9Secildi";
        }

        private void Uti2_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[2] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Blinding Powder"));
                Skill7.Image = Sifrele.resimListesi["53px-Blinding_Powder.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[2] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Blinding Powder"));
                Skill8.Image = Sifrele.resimListesi["53px-Blinding_Powder.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[2] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Blinding Powder"));
                Skill9.Image = Sifrele.resimListesi["53px-Blinding_Powder.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti3_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[3] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Shadow Refuge"));
                Skill7.Image = Sifrele.resimListesi["53px-Shadow_Refuge.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[3] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Shadow Refuge"));
                Skill8.Image = Sifrele.resimListesi["53px-Shadow_Refuge.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[3] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Shadow Refuge"));
                Skill9.Image = Sifrele.resimListesi["53px-Shadow_Refuge.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti4_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[4] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Shadowstep"));
                Skill7.Image = Sifrele.resimListesi["53px-Shadowstep.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[4] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Shadowstep"));
                Skill8.Image = Sifrele.resimListesi["53px-Shadowstep.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[4] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Shadowstep"));
                Skill9.Image = Sifrele.resimListesi["53px-Shadowstep.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti5_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[5] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Assassin Signet"));
                Skill7.Image = Sifrele.resimListesi["53px-Assassin_Signet.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[5] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Assassin Signet"));
                Skill8.Image = Sifrele.resimListesi["53px-Assassin_Signet.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[5] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Assassin Signet"));
                Skill9.Image = Sifrele.resimListesi["53px-Assassin_Signet.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti6_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[6] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Infiltrator's Signet"));
                Skill7.Image = Sifrele.resimListesi["53px-Infiltrator's_Signet.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[6] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Infiltrator's Signet"));
                Skill8.Image = Sifrele.resimListesi["53px-Infiltrator's_Signet.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[6] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Infiltrator's Signet"));
                Skill9.Image = Sifrele.resimListesi["53px-Infiltrator's_Signet.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti7_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[7] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Signet of Agility"));
                Skill7.Image = Sifrele.resimListesi["53px-Signet_of_Agility.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[7] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Signet of Agility"));
                Skill8.Image = Sifrele.resimListesi["53px-Signet_of_Agility.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[7] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Signet of Agility"));
                Skill9.Image = Sifrele.resimListesi["53px-Signet_of_Agility.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti8_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[8] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Signet of Shadows"));
                Skill7.Image = Sifrele.resimListesi["53px-Signet_of_Shadows.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[8] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Signet of Shadows"));
                Skill8.Image = Sifrele.resimListesi["53px-Signet_of_Shadows.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[8] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Signet of Shadows"));
                Skill9.Image = Sifrele.resimListesi["53px-Signet_of_Shadows.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti9_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[9] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Needle Trap"));
                Skill7.Image = Sifrele.resimListesi["53px-Needle_Trap.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[9] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Needle Trap"));
                Skill8.Image = Sifrele.resimListesi["53px-Needle_Trap.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[9] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Needle Trap"));
                Skill9.Image = Sifrele.resimListesi["53px-Needle_Trap.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti10_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[10] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Shadow Trap"));
                Skill7.Image = Sifrele.resimListesi["53px-Shadow_Trap.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[10] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Shadow Trap"));
                Skill8.Image = Sifrele.resimListesi["53px-Shadow_Trap.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[10] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Shadow Trap"));
                Skill9.Image = Sifrele.resimListesi["53px-Shadow_Trap.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti11_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[11] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Tripwire"));
                Skill7.Image = Sifrele.resimListesi["53px-Tripwire.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[11] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Tripwiret"));
                Skill8.Image = Sifrele.resimListesi["53px-Tripwire.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[11] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Tripwire"));
                Skill9.Image = Sifrele.resimListesi["53px-Tripwire.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti12_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[12] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Ambush"));
                Skill7.Image = Sifrele.resimListesi["53px-Ambush.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[12] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Ambush"));
                Skill8.Image = Sifrele.resimListesi["53px-Ambush.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[12] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Ambush"));
                Skill9.Image = Sifrele.resimListesi["53px-Ambush.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti13_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[13] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Haste"));
                Skill7.Image = Sifrele.resimListesi["53px-Haste.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[13] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Haste"));
                Skill8.Image = Sifrele.resimListesi["53px-Haste.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[13] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Haste"));
                Skill9.Image = Sifrele.resimListesi["53px-Haste.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti14_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[14] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Roll for Initiative"));
                Skill7.Image = Sifrele.resimListesi["53px-Roll_for_Initiative.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[14] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Roll for Initiative"));
                Skill8.Image = Sifrele.resimListesi["53px-Roll_for_Initiative.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[14] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Roll for Initiative"));
                Skill9.Image = Sifrele.resimListesi["53px-Roll_for_Initiative.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti15_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[15] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill7, Contents.GetContent("Caltrops"));
                Skill7.Image = Sifrele.resimListesi["53px-Caltrops.png"];               
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[15] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill8, Contents.GetContent("Caltrops"));
                Skill8.Image = Sifrele.resimListesi["53px-Caltrops.png"];
                
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[15] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill9, Contents.GetContent("Caltrops"));
                Skill9.Image = Sifrele.resimListesi["53px-Caltrops.png"];
               
                UtiPanel.Visible = false;

            }
        }

        private void Uti16_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[16] = UtiSecilen;
                SkillUpdate();                
                toolTip.SetToolTip(Skill7, Contents.GetContent("Scorpion Wire"));
                Skill7.Image = Sifrele.resimListesi["53px-Scorpion_Wire.png"];                
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[16] = UtiSecilen;
                SkillUpdate();                
                toolTip.SetToolTip(Skill8, Contents.GetContent("Scorpion Wire"));
                Skill8.Image = Sifrele.resimListesi["53px-Scorpion_Wire.png"];                
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[16] = UtiSecilen;
                SkillUpdate();                
                toolTip.SetToolTip(Skill9, Contents.GetContent("Scorpion Wire"));
                Skill9.Image = Sifrele.resimListesi["53px-Scorpion_Wire.png"];              
                UtiPanel.Visible = false;

            }
        }

        private void Uti17_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[17] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill7, Contents.GetContent("Devourer Venom"));
                Skill7.Image = Sifrele.resimListesi["53px-Devourer_Venom.png"];               
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[17] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill8, Contents.GetContent("Devourer Venom"));
                Skill8.Image = Sifrele.resimListesi["53px-Devourer_Venom.png"];                
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[17] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill9, Contents.GetContent("Devourer Venom"));
                Skill9.Image = Sifrele.resimListesi["53px-Devourer_Venom.png"];               
                UtiPanel.Visible = false;

            }
        }

        private void Uti18_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[18] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill7, Contents.GetContent("Ice Drake Venom"));
                Skill7.Image = Sifrele.resimListesi["53px-Ice_Drake_Venom.png"];                
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[18] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill8, Contents.GetContent("Ice Drake Venom"));
                Skill8.Image = Sifrele.resimListesi["53px-Ice_Drake_Venom.png"];                
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[18] = UtiSecilen;
                SkillUpdate();
                toolTip.SetToolTip(Skill9, Contents.GetContent("Ice Drake Venom"));
                Skill9.Image = Sifrele.resimListesi["53px-Ice_Drake_Venom.png"];                
                UtiPanel.Visible = false;

            }
        }

        private void Uti19_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[19] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Skale Venom"));
                Skill7.Image = Sifrele.resimListesi["53px-Skale_Venom.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[19] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Skale Venom"));
                Skill8.Image = Sifrele.resimListesi["53px-Skale_Venom.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[19] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Skale Venom"));
                Skill9.Image = Sifrele.resimListesi["53px-Skale_Venom.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Uti20_Click(object sender, EventArgs e)
        {
            if (UtiSecilen == "7Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[20] = UtiSecilen;
                SkillUpdate();
                Skill18.Visible = false;
                toolTip.SetToolTip(Skill7, Contents.GetContent("Spider Venom"));
                Skill7.Image = Sifrele.resimListesi["53px-Spider_Venom.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "8Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[20] = UtiSecilen;
                SkillUpdate();
                Skill19.Visible = false;
                toolTip.SetToolTip(Skill8, Contents.GetContent("Spider Venom"));
                Skill8.Image = Sifrele.resimListesi["53px-Spider_Venom.png"];
                UtiPanel.Visible = false;

            }
            if (UtiSecilen == "9Secildi")
            {
                SkillClear(UtiSecilen);
                skilllist[20] = UtiSecilen;
                SkillUpdate();
                Skill20.Visible = false;
                toolTip.SetToolTip(Skill9, Contents.GetContent("Spider Venom"));
                Skill9.Image = Sifrele.resimListesi["53px-Spider_Venom.png"];
                UtiPanel.Visible = false;

            }
        }

        private void Elite1_Click(object sender, EventArgs e)
        {

            toolTip.SetToolTip(Skill10, Contents.GetContent("Dagger Storm"));
            Skill10.Image = Sifrele.resimListesi["53px-Dagger_Storm.png"];
            ElitePanel.Visible = false;
        }

        private void Elite2_Click(object sender, EventArgs e)
        {

            toolTip.SetToolTip(Skill10, Contents.GetContent("Thieves Guild"));
            Skill10.Image = Sifrele.resimListesi["53px-Thieves_Guild.png"];
            ElitePanel.Visible = false;
        }

        private void Elite3_Click(object sender, EventArgs e)
        {

            toolTip.SetToolTip(Skill10, Contents.GetContent("Basilisk Venom"));
            Skill10.Image = Sifrele.resimListesi["53px-Basilisk_Venom.png"];
            ElitePanel.Visible = false;
        }

        private void KalanTrait_Click(object sender, EventArgs e)
        {

        }

        private void p1_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan> 0)
            {
                KalanTraitPuan = KalanTraitPuan - 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Power = Power + 50;
                Expertise = Expertise + 5;
                texta1.Text = "+" + Power;
                texta2.Text = "+%" + Expertise;
                DeadlyArts = DeadlyArts + 5;
                label1.Text = DeadlyArts.ToString();
            }
            
            switch (DeadlyArts)
            {
                case 5: trait1.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait1, Contents.GetContent("Serpent's Touch"));
                    break;
                case 10: trait2.Image = Sifrele.resimListesi["major_unlocked.png"];                    
                    break;
                case 15: trait3.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait3, Contents.GetContent("Lotus Poison"));
                    break;
                case 20: trait4.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 25: trait5.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait5, Contents.GetContent("Exposed Weakness"));
                    break;
                case 30: trait6.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;

            }
            if (DeadlyArts>=30)
            {
                p1.Enabled = false;
            }
           
            
        }

        private void p2_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan==70||DeadlyArts==0)
            {
                
            }
            else
            {
                KalanTraitPuan = KalanTraitPuan + 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Power = Power - 50;
                Expertise = Expertise - 5;
                texta1.Text = "+" + Power;
                texta2.Text = "+%" + Expertise;
                DeadlyArts = DeadlyArts - 5;
                label1.Text = DeadlyArts.ToString();
               
            }
            if (DeadlyArts<=29)
            {
                p1.Enabled = true;
            }
            
           
            switch (DeadlyArts)
            {

                case 25: trait6.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 20: trait5.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 15: trait4.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 10: trait3.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 5: trait2.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 0: trait1.Image = Sifrele.resimListesi["locked.png"];
                    break;

            }
           
            
           
            
        }

        private void trait2_Click(object sender, EventArgs e)
        {
            TraitSecilen = "1Secilen";
            if (DeadlyArts>=10)
            {
                STrait7.Hide();
                STrait8.Hide();
                STrait9.Hide();
                STrait10.Hide();
                STrait11.Hide();
                STrait12.Hide();
                TraitP1.Visible = true;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitBir)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP1.Controls["STrait" + item.Key] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait4_Click(object sender, EventArgs e)
        {
            TraitSecilen = "2Secilen";
            if (DeadlyArts >= 20)
            {
                STrait7.Show();
                STrait8.Show();
                STrait9.Show();
                STrait10.Show();
                STrait11.Hide();
                STrait12.Hide();
                TraitP1.Visible = true;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitBir)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP1.Controls["STrait" + item.Key] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait6_Click(object sender, EventArgs e)
        {
            TraitSecilen = "3Secilen";
            if (DeadlyArts >= 30)
            {
                STrait7.Show();
                STrait8.Show();
                STrait9.Show();
                STrait10.Show();
                STrait11.Show();
                STrait12.Show();
                TraitP1.Visible = true;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitBir)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP1.Controls["STrait" + item.Key] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void STrait1_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[1] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Back Fighting"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_I.png"];
                
            }
            if (TraitSecilen=="2Secilen")
            {
                 TraitClear(TraitSecilen);
                SecilenTraitBir[1] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Back Fighting"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_I.png"];
            }
            if (TraitSecilen=="3Secilen")
            {
                 TraitClear(TraitSecilen);
                SecilenTraitBir[1] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Back Fighting"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_I.png"];
            }
        }

        private void STrait2_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[2] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Poisonous Traps"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_II.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[2] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Poisonous Traps"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_II.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[2] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Poisonous Traps"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_II.png"];
            }
        }

        private void STrait3_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[3] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Mug"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_III.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[3] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Mug"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_III.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[3] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Mug"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_III.png"];
            }
        }

        private void STrait4_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[4] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Venomous Strength"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_IV.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[4] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Venomous Strength"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[4] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Venomous Strength"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
        }

        private void STrait5_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[5] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Potent Poison"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_V.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[5] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Potent Poison"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_V.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[5] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Potent Poison"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_V.png"];
            }
        }

        private void STrait6_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[6] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Sundering Strikes"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_VI.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[6] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Sundering Strikes"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[6] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Sundering Strikes"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
        }

        private void STrait7_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[7] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Improved Venoms"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_VII.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[7] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Improved Venoms"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[7] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Improved Venoms"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
        }

        private void STrait8_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[8] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Quick Venoms"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_VIII.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[8] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Quick Venoms"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[8] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Quick Venoms"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
        }

        private void STrait9_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[9] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Dagger Training")); 
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_IX.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[9] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Dagger Training")); 
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[9] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Dagger Training")); 
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
        }

        private void STrait10_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[10] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Combined Training"));
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_X.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[10] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Combined Training"));
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_X.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[10] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Combined Training"));
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_X.png"];
            }
        }

        private void STrait11_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[11] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Panic Strike")); 
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_XI.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[11] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Panic Strike")); 
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[11] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Panic Strike")); 
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
        }

        private void STrait12_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[12] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Residual Venom")); 
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_XII.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[12] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Residual Venom")); 
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[12] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Residual Venom")); 
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
        }

        private void STrait13_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "1Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[13] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait2, Contents.GetContent("Spell Slinger")); 
                TraitP1.Visible = false;
                trait2.Image = Sifrele.resimListesi["Trait_I.png"];

            }
            if (TraitSecilen == "2Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[13] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait4, Contents.GetContent("Spell Slinger")); 
                TraitP1.Visible = false;
                trait4.Image = Sifrele.resimListesi["Trait_I.png"];
            }
            if (TraitSecilen == "3Secilen")
            {
                TraitClear(TraitSecilen);
                SecilenTraitBir[13] = TraitSecilen;
                TraitUpdate();
                toolTip.SetToolTip(trait6, Contents.GetContent("Spell Slinger")); 
                TraitP1.Visible = false;
                trait6.Image = Sifrele.resimListesi["Trait_I.png"];
            }
        }

        private void trait8_Click(object sender, EventArgs e)
        {
            TraitSecilen = "4Secilen";
            if (CriticalStrikes >= 10)
            {
                STrait22.Hide();
                STrait23.Hide();
                STrait24.Hide();
                STrait25.Hide();
                STrait26.Hide();
                STrait27.Hide();
                TraitP1.Visible = false;
                TraitP2.Visible = true;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitİki)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP2.Controls["STrait" + (item.Key + 15)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait10_Click(object sender, EventArgs e)
        {
            TraitSecilen = "5Secilen";
            if (CriticalStrikes >= 20)
            {
                STrait22.Show();
                STrait23.Show();
                STrait24.Show();
                STrait25.Show();
                STrait26.Hide();
                STrait27.Hide();
                TraitP1.Visible = false;
                TraitP2.Visible = true;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitİki)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP2.Controls["STrait" + (item.Key + 15)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait12_Click(object sender, EventArgs e)
        {
            TraitSecilen = "6Secilen";
            if (CriticalStrikes >= 30)
            {
                STrait22.Show();
                STrait23.Show();
                STrait24.Show();
                STrait25.Show();
                STrait26.Show();
                STrait27.Show();
                TraitP1.Visible = false;
                TraitP2.Visible = true;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitİki)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP2.Controls["STrait" + (item.Key + 15)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void p3_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan > 0)
            {
                KalanTraitPuan = KalanTraitPuan - 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Precision = Precision + 50;
                Prowess = Prowess + 5;
                texta3.Text = "+" + Precision;
                texta4.Text = "+" + Prowess;
                CriticalStrikes = CriticalStrikes + 5;
                label2.Text = CriticalStrikes.ToString();
            }

            switch (CriticalStrikes)
            {
                case 5: trait7.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait7, Contents.GetContent("Keen Observer"));
                    break;
                case 10: trait8.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 15: trait9.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait9, Contents.GetContent("Opportunist"));
                    break;
                case 20: trait10.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 25: trait11.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait11, Contents.GetContent("First Strikes"));
                    break;
                case 30: trait12.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;

            }
            if (CriticalStrikes >= 30)
            {
                p3.Enabled = false;
            }
        }

        private void p4_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan == 70 || CriticalStrikes == 0)
            {

            }
            else
            {
                KalanTraitPuan = KalanTraitPuan + 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Precision = Precision - 50;
                Prowess = Prowess - 5;
                texta3.Text = "+" + Precision;
                texta4.Text = "+%" + Prowess;
                CriticalStrikes = CriticalStrikes - 5;
                label2.Text = CriticalStrikes.ToString();

            }
            if (CriticalStrikes <= 29)
            {
                p3.Enabled = true;
            }


            switch (CriticalStrikes)
            {

                case 25: trait12.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 20: trait11.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 15: trait10.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 10: trait9.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 5: trait8.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 0: trait7.Image = Sifrele.resimListesi["locked.png"];
                    break;

            }
        }

        private void STrait16_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[1] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Furious Retaliation"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_I.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[1] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Furious Retaliation"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_I.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[1] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Furious Retaliation"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_I.png"];
            }
        }

        private void STrait17_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[2] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Signets of Power"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_II.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[2] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Signets of Power"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_II.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[2] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Signets of Power"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_II.png"];
            }
        }

        private void STrait18_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[3] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Side Strike"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_III.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[3] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Side Strike"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_III.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[3] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Side Strike"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_III.png"];
            }
        }

        private void STrait19_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[4] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Concealed Defeat"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_IV.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[4] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Concealed Defeat"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[4] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Concealed Defeat"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
        }

        private void STrait20_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[5] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Critical Haste"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_V.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[5] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Critical Haste"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_V.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[5] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Critical Haste"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_V.png"];
            }
        }

        private void STrait21_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[6] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Executioner"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_VI.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[6] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Executioner"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[6] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Executioner"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
        }

        private void STrait22_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[7] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Fast Signets"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_VII.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[7] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Fast Signets"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[7] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Fast Signets"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
        }

        private void STrait23_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[8] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Hidden Killer"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_VIII.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[8] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Hidden Killer"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[8] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Hidden Killer"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
        }

        private void STrait24_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[9] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Combo Crit Chance"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_IX.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[9] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Combo Crit Chance"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[9] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Combo Crit Chance"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
        }

        private void STrait25_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[10] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Pistol Mastery"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_X.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[10] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Pistol Mastery"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_X.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[10] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Pistol Mastery"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_X.png"];
            }
        }

        private void STrait26_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[11] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Ankle Shots"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_XI.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[11] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Ankle Shots"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[11] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Ankle Shots"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
        }

        private void STrait27_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[12] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Signet Use"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_XII.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[12] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Signet Use"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[12] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Signet Use"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
        }

        private void p5_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan > 0)
            {
                KalanTraitPuan = KalanTraitPuan - 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Toughness = Toughness + 50;
                Compassion = Compassion + 50;
                texta5.Text = "+" + Toughness;
                texta6.Text = "+" + Compassion;
                ShadowArts = ShadowArts + 5;
                label3.Text = ShadowArts.ToString();
            }

            switch (ShadowArts)
            {
                case 5: trait13.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait13, Contents.GetContent("Last Refuge"));
                    break;
                case 10: trait14.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 15: trait15.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait15, Contents.GetContent("Meld With Shadows"));
                    break;
                case 20: trait16.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 25: trait17.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait17, Contents.GetContent("Hidden Assassin"));
                    break;
                case 30: trait18.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;

            }
            if (ShadowArts >= 30)
            {
                p5.Enabled = false;
            }
        }

        private void p6_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan == 70 || ShadowArts == 0)
            {

            }
            else
            {
                KalanTraitPuan = KalanTraitPuan + 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Toughness = Toughness - 50;
                Compassion = Compassion - 50;
                texta5.Text = "+" + Toughness;
                texta6.Text = "+" + Compassion;
                ShadowArts = ShadowArts - 5;
                label3.Text = ShadowArts.ToString();

            }
            if (ShadowArts <= 29)
            {
                p5.Enabled = true;
            }


            switch (ShadowArts)
            {

                case 25: trait18.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 20: trait17.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 15: trait16.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 10: trait15.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 5: trait14.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 0: trait13.Image = Sifrele.resimListesi["locked.png"];
                    break;

            }
        }

        private void trait14_Click(object sender, EventArgs e)
        {
            TraitSecilen = "7Secilen";
            if (ShadowArts >= 10)
            {
                STrait37.Hide();
                STrait38.Hide();
                STrait39.Hide();
                STrait40.Hide();
                STrait41.Hide();
                STrait42.Hide();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = true;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitUc)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP3.Controls["STrait" + (item.Key + 30)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait16_Click(object sender, EventArgs e)
        {
            TraitSecilen = "8Secilen";
            if (ShadowArts >= 20)
            {
                STrait37.Show();
                STrait38.Show();
                STrait39.Show();
                STrait40.Show();
                STrait41.Hide();
                STrait42.Hide();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = true;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitUc)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP3.Controls["STrait" + (item.Key + 30)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait18_Click(object sender, EventArgs e)
        {
            TraitSecilen = "9Secilen";
            if (ShadowArts >= 30)
            {
                STrait37.Show();
                STrait38.Show();
                STrait39.Show();
                STrait40.Show();
                STrait41.Show();
                STrait42.Show();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = true;
                TraitP4.Visible = false;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitUc)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP3.Controls["STrait" + (item.Key + 30)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void STrait31_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[1] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Cowardly"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_I.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[1] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Cowardly"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_I.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[1] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Cowardly"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_I.png"];
            }
        }

        private void STrait32_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[2] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Reviver's Deception"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_II.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[2] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Reviver's Deception"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_II.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[2] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Reviver's Deception"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_II.png"];
            }
        }

        private void STrait33_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[3] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Shadow Protector"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_III.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[3] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Shadow Protector"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_III.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[3] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Shadow Protector"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_III.png"];
            }
        }

        private void STrait34_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[4] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Shadow's Embrace"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_IV.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[4] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Shadow's Embrace"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[4] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Shadow's Embrace"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
        }

        private void STrait35_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[5] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Infusion of Shadow"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_V.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[5] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Infusion of Shadow"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_V.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[5] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Infusion of Shadow"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_V.png"];
            }
        }

        private void STrait36_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[6] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Cloaked in Shadow"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_VI.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[6] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Cloaked in Shadow"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[6] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Cloaked in Shadow"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
        }

        private void STrait37_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[7] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Power Shots"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_VII.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[7] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Power Shots"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[7] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Power Shots"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
        }

        private void STrait38_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[8] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Master of Deception"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_VIII.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[8] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Master of Deception"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[8] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Master of Deception"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
        }

        private void STrait39_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[9] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Leeching Venoms"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_IX.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[9] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Leeching Venoms"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[9] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Leeching Venoms"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
        }

        private void STrait40_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[10] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Patience"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_X.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[10] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Patience"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_X.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[10] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Patience"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_X.png"];
            }
        }

        private void STrait41_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[11] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Hidden Thief"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_XI.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[11] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Hidden Thief"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[11] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Hidden Thief"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
        }

        private void p7_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan > 0)
            {
                KalanTraitPuan = KalanTraitPuan - 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Vitality = Vitality + 50;
                Concentration = Concentration + 5;
                texta7.Text = "+" + Vitality;
                texta8.Text = "+%" + Concentration;
                Acrobatics = Acrobatics + 5;
                label4.Text = Acrobatics.ToString();
            }

            switch (Acrobatics)
            {
                case 5: trait19.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait19, Contents.GetContent("Expeditious Dodger"));
                    break;
                case 10: trait20.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 15: trait21.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait21, Contents.GetContent("Feline Grace"));
                    break;
                case 20: trait22.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 25: trait23.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait23, Contents.GetContent("Fluid Strikes"));
                    break;
                case 30: trait24.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;

            }
            if (Acrobatics >= 30)
            {
                p7.Enabled = false;
            }
        }

        private void p8_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan == 70 || Acrobatics == 0)
            {

            }
            else
            {
                KalanTraitPuan = KalanTraitPuan + 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Vitality = Vitality - 50;
                Concentration = Concentration - 5;
                texta7.Text = "+" + Vitality;
                texta8.Text = "+%" + Concentration;
                Acrobatics = Acrobatics - 5;
                label4.Text = Acrobatics.ToString();

            }
            if (Acrobatics <= 29)
            {
                p7.Enabled = true;
            }


            switch (Acrobatics)
            {

                case 25: trait24.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 20: trait23.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 15: trait22.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 10: trait21.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 5: trait20.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 0: trait19.Image = Sifrele.resimListesi["locked.png"];
                    break;

            }
        }

        private void STrait46_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[1] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Descent of Shadows"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_I.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[1] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Descent of Shadows"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_I.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[1] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Descent of Shadows"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_I.png"];
            }
        }

        private void trait20_Click(object sender, EventArgs e)
        {
            TraitSecilen = "10Secilen";
            if (Acrobatics >= 10)
            {
                STrait52.Hide();
                STrait53.Hide();
                STrait54.Hide();
                STrait55.Hide();
                STrait56.Hide();
                STrait57.Hide();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = true;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitDort)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP4.Controls["STrait" + (item.Key + 45)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait22_Click(object sender, EventArgs e)
        {
            TraitSecilen = "11Secilen";
            if (Acrobatics >= 20)
            {
                STrait52.Show();
                STrait53.Show();
                STrait54.Show();
                STrait55.Show();
                STrait56.Hide();
                STrait57.Hide();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = true;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitDort)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP4.Controls["STrait" + (item.Key + 45)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait24_Click(object sender, EventArgs e)
        {
            TraitSecilen = "12Secilen";
            if (Acrobatics >= 30)
            {
                STrait52.Show();
                STrait53.Show();
                STrait54.Show();
                STrait55.Show();
                STrait56.Show();
                STrait57.Show();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = true;
                TraitP5.Visible = false;
                foreach (var item in SecilenTraitDort)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP4.Controls["STrait" + (item.Key + 45)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void STrait47_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[2] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Power of Inertia"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_II.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[2] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Power of Inertia"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_II.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[2] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Power of Inertia"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_II.png"];
            }
        }

        private void STrait48_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[3] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Vigorous Recovery"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_III.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[3] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Vigorous Recovery"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_III.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[3] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Vigorous Recovery"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_III.png"];
            }
        }

        private void STrait49_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[4] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Assassin's Retreat"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_IV.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[4] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Assassin's Retreat"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[4] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Assassin's Retreat"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
        }

        private void STrait50_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[5] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Fleet of Foot"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_V.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[5] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Fleet of Foot"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_V.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[5] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Fleet of Foot"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_V.png"];
            }
        }

        private void STrait51_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[6] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Fleet Shadow"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_VI.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[6] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Fleet Shadow"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[6] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Fleet Shadow"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
        }

        private void STrait52_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[7] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Master Trapper"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_VII.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[7] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Master Trapper"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[7] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Master Trapper"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
        }

        private void STrait53_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[8] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Pain Response"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_VIII.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[8] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Pain Response"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[8] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Pain Response"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
        }

        private void STrait54_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[9] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Quick Recovery"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_IX.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[9] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Quick Recovery"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[9] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Quick Recovery"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
        }

        private void STrait55_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[10] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Martial Agility"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_X.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[10] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Martial Agility"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_X.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[10] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Martial Agility"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_X.png"];
            }
        }

        private void STrait56_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[11] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Hard to Catch"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_XI.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[11] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Hard to Catch"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[11] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Hard to Catch"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
        }

        private void STrait57_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "10Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[12] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait20, Contents.GetContent("Quick Pockets"));
                TraitP4.Visible = false;
                trait20.Image = Sifrele.resimListesi["Trait_XII.png"];

            }
            if (TraitSecilen == "11Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[12] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait22, Contents.GetContent("Quick Pockets"));
                TraitP4.Visible = false;
                trait22.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
            if (TraitSecilen == "12Secilen")
            {
                TraitClear3(TraitSecilen);
                SecilenTraitDort[12] = TraitSecilen;
                TraitUpdate3();
                toolTip.SetToolTip(trait24, Contents.GetContent("Quick Pockets"));
                TraitP4.Visible = false;
                trait24.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
        }

        private void p9_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan > 0)
            {
                KalanTraitPuan = KalanTraitPuan - 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Malice = Malice + 50;
                Cunning = Cunning + 5;
                texta9.Text = "+" + Malice;
                texta10.Text = "+%" + Cunning;
                Trickery = Trickery + 5;
                label5.Text = Trickery.ToString();
            }

            switch (Trickery)
            {
                case 5: trait25.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait25, Contents.GetContent("Kleptomaniac"));
                    break;
                case 10: trait26.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 15: trait27.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait27, Contents.GetContent("Preparedness"));
                    break;
                case 20: trait28.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;
                case 25: trait29.Image = Sifrele.resimListesi["minor_unknown.png"];
                    toolTip.SetToolTip(trait29, Contents.GetContent("Lead Attacks"));
                    break;
                case 30: trait30.Image = Sifrele.resimListesi["major_unlocked.png"];
                    break;

            }
            if (Trickery >= 30)
            {
                p9.Enabled = false;
            }
        }

        private void p10_Click(object sender, EventArgs e)
        {
            if (KalanTraitPuan == 70 || Trickery == 0)
            {

            }
            else
            {
                KalanTraitPuan = KalanTraitPuan + 5;
                KalanTrait.Text = "Kalan Trait Puanı =" + KalanTraitPuan;
                Malice = Malice - 50;
                Cunning = Cunning - 5;
                texta9.Text = "+" + Malice;
                texta10.Text = "+%" + Cunning;
                Trickery = Trickery - 5;
                label5.Text = Trickery.ToString();

            }
            if (Trickery <= 29)
            {
                p9.Enabled = true;
            }


            switch (Trickery)
            {

                case 25: trait30.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 20: trait29.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 15: trait28.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 10: trait27.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 5: trait26.Image = Sifrele.resimListesi["locked.png"];
                    break;
                case 0: trait25.Image = Sifrele.resimListesi["locked.png"];
                    break;

            }
        }

        private void trait26_Click(object sender, EventArgs e)
        {
            TraitSecilen = "13Secilen";
            if (Trickery >= 10)
            {
                STrait67.Hide();
                STrait68.Hide();
                STrait69.Hide();
                STrait70.Hide();
                STrait71.Hide();
                STrait72.Hide();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = true;
                foreach (var item in SecilenTraitBes)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP5.Controls["STrait" + (item.Key + 60)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait28_Click(object sender, EventArgs e)
        {
            TraitSecilen = "14Secilen";
            if (Trickery >= 20)
            {
                STrait67.Show();
                STrait68.Show();
                STrait69.Show();
                STrait70.Show();
                STrait71.Hide();
                STrait72.Hide();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = true;
                foreach (var item in SecilenTraitBes)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP5.Controls["STrait" + (item.Key + 60)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void trait30_Click(object sender, EventArgs e)
        {
            TraitSecilen = "15Secilen";
            if (Trickery >= 30)
            {
                STrait67.Show();
                STrait68.Show();
                STrait69.Show();
                STrait70.Show();
                STrait71.Show();
                STrait72.Show();
                TraitP1.Visible = false;
                TraitP2.Visible = false;
                TraitP3.Visible = false;
                TraitP4.Visible = false;
                TraitP5.Visible = true;
                foreach (var item in SecilenTraitBes)
                {
                    if (item.Value != null)
                    {
                        PictureBox box = TraitP5.Controls["STrait" + (item.Key + 60)] as PictureBox;
                        box.Visible = false;
                    }
                }
            }
        }

        private void STrait61_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[1] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Merciful Ambush"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_I.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[1] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Merciful Ambush"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_I.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[1] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Merciful Ambush"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_I.png"];
            }
        }

        private void STrait62_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[2] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Pickpocket's Revenge"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_II.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[2] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Pickpocket's Revenge"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_II.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[2] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Pickpocket's Revenge"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_II.png"];
            }
        }

        private void STrait63_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[3] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Uncatchable"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_III.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[3] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Uncatchable"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_III.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[3] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Uncatchable"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_III.png"];
            }
        }

        private void STrait64_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[4] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Flanking Strikes"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_IV.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[4] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Flanking Strikes"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[4] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Flanking Strikes"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_IV.png"];
            }
        }

        private void STrait65_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[5] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Thrill of the Crime"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_V.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[5] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Thrill of the Crime"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_V.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[5] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Thrill of the Crime"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_V.png"];
            }
        }

        private void STrait66_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[6] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Long Reach"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_VI.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[6] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Long Reach"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[6] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Long Reach"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_VI.png"];
            }
        }

        private void STrait67_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[7] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Bountiful Theft"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_VII.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[7] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Bountiful Theft"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[7] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Bountiful Theft"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_VII.png"];
            }
        }

        private void STrait68_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[8] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Trickster"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_VIII.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[8] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Trickster"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[8] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Trickster"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_VIII.png"];
            }
        }

        private void STrait69_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[9] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Initial Strike"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_IX.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[9] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Initial Strike"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[9] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Initial Strike"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_IX.png"];
            }
        }

        private void STrait70_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[10] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Ricochet (Thief Trait)"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_X.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[10] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Ricochet (Thief Trait)"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_X.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[10] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Ricochet (Thief Trait)"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_X.png"];
            }
        }

        private void STrait71_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[11] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Hastened Replenishment"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_XI.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[11] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Hastened Replenishment"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[11] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Hastened Replenishment"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_XI.png"];
            }
        }

      

        private void button1_Click(object sender, EventArgs e)
        {
            

        }

        private void Elementalist_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }

        private void STrait42_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "7Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[12] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait14, Contents.GetContent("Venomous Aura"));
                TraitP3.Visible = false;
                trait14.Image = Sifrele.resimListesi["Trait_XII.png"];

            }
            if (TraitSecilen == "8Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[12] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait16, Contents.GetContent("Venomous Aura"));
                TraitP3.Visible = false;
                trait16.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
            if (TraitSecilen == "9Secilen")
            {
                TraitClear2(TraitSecilen);
                SecilenTraitUc[12] = TraitSecilen;
                TraitUpdate2();
                toolTip.SetToolTip(trait18, Contents.GetContent("Venomous Aura"));
                TraitP3.Visible = false;
                trait18.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
        }

        private void STrait72_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "13Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[12] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait26, Contents.GetContent("Sleight of Hand"));
                TraitP5.Visible = false;
                trait26.Image = Sifrele.resimListesi["Trait_XII.png"];

            }
            if (TraitSecilen == "14Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[12] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait28, Contents.GetContent("Sleight of Hand"));
                TraitP5.Visible = false;
                trait28.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
            if (TraitSecilen == "15Secilen")
            {
                TraitClear4(TraitSecilen);
                SecilenTraitBes[12] = TraitSecilen;
                TraitUpdate4();
                toolTip.SetToolTip(trait30, Contents.GetContent("Sleight of Hand"));
                TraitP5.Visible = false;
                trait30.Image = Sifrele.resimListesi["Trait_XII.png"];
            }
        }

        private void STrait45_Click(object sender, EventArgs e)
        {

        }

        private void STrait60_Click(object sender, EventArgs e)
        {

        }

        private void STrait28_Click(object sender, EventArgs e)
        {
            if (TraitSecilen == "4Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[13] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait8, Contents.GetContent("Signets of Power"));
                TraitP2.Visible = false;
                trait8.Image = Sifrele.resimListesi["Trait_I.png"];

            }
            if (TraitSecilen == "5Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[13] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait10, Contents.GetContent("Signets of Power"));
                TraitP2.Visible = false;
                trait10.Image = Sifrele.resimListesi["Trait_I.png"];
            }
            if (TraitSecilen == "6Secilen")
            {
                TraitClear1(TraitSecilen);
                SecilenTraitİki[13] = TraitSecilen;
                TraitUpdate1();
                toolTip.SetToolTip(trait12, Contents.GetContent("Signets of Power"));
                TraitP2.Visible = false;
                trait12.Image = Sifrele.resimListesi["Trait_I.png"];
            }
        }

        private void Class3_Click(object sender, EventArgs e)
        {
            Guardian guard = new Guardian();
            this.Hide();
            guard.Show();
        }

        private void Class4_Click(object sender, EventArgs e)
        {
            Mesmer msmr = new Mesmer();
            this.Hide();
            msmr.Show();
        }

        private void Class5_Click(object sender, EventArgs e)
        {
            Necromancer ncr = new Necromancer();
            this.Hide();
            ncr.Show();
        }

        private void Class6_Click(object sender, EventArgs e)
        {
            Ranger rng = new Ranger();
            this.Hide();
            rng.Show();
        }

        private void Class7_Click(object sender, EventArgs e)
        {
            Thief tif = new Thief();
            this.Hide();
            tif.Show();
        }

        private void Class8_Click(object sender, EventArgs e)
        {
            Warrior war = new Warrior();
            this.Hide();
            war.Show();
        }

        private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            DialogResult dgs = new DialogResult();
            dgs = MessageBox.Show("Hataları 'gokhanoom@gmail.com' veya http://www.guildwars2tr.com/forum adresine gönderebilirsiniz.", "Hata bildirim", MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);
            if (dgs == DialogResult.OK)
            {
                System.Diagnostics.Process.Start("http://www.guildwars2tr.com/forum/showthread.php?tid=1174");
            }
            else
            {

            }
        }

        private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Efekt efe = new Efekt();
            efe.Show();
        }

       

      

       
    }
}
